package com.hksj.gas.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class GasDeviceVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("产品id ")
    private String productId;

    @ApiModelProperty("产品name")
    private String productName;

    @ApiModelProperty("设备id ")
    private String deviceId;

    @ApiModelProperty("设备name")
    private String deviceName;

    @ApiModelProperty("设备连接状态")
    private String state;

    @ApiModelProperty("产品类型code属性类型")
    private String property;

    @ApiModelProperty("是否显示流量（0=不显示 1=显示）")
    private Integer displayFlowStatus = 1;

    @ApiModelProperty("派生(独立)物模型")
    private String deriveMetadata;

    @ApiModelProperty("0=正常 1=欠压报警(低于最小阈值的报警) 2=过压报警(高于最大阈值")
    private Integer pushType =0;

    @ApiModelProperty("压强")
    private Double pressure = 0.0;

    @ApiModelProperty("平均压强")
    private Double avgPressure = 0.0;

    @ApiModelProperty("气体累计流量")
    private Double gasCumulativeFlow = 0.0;

    @ApiModelProperty("气体当日流量")
    private Double gasDailyFlow = 0.0;

    @ApiModelProperty(value = "上报时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

    @ApiModelProperty(value = "楼栋id")
    private Long buildingId;

    @ApiModelProperty(value = "楼栋名称")
    private String buildingName;

    @ApiModelProperty(value = "楼层id")
    private Long floorId;

    @ApiModelProperty(value = "楼层名称")
    private String floorName;

    @ApiModelProperty(value = "房间id")
    private Long roomId;

    @ApiModelProperty(value = "房间名称")
    private String roomName;

    @ApiModelProperty(value = "位置id")
    private Long pointId;

    @ApiModelProperty(value = "位置名称")
    private String pointName;

}
